package com.castle.fortress.admin.study.exam.entity;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import lombok.EqualsAndHashCode;
import com.castle.fortress.admin.core.entity.BaseEntity;
/**
 * 题库管理 实体类
 *
 * @author castle
 * @since 2023-02-09
 */
@Data
@TableName("study_questionbank")
@EqualsAndHashCode(callSuper = true)
public class StudyQuestionbankEntity extends BaseEntity  {
	private static final long serialVersionUID = 1L;
	/**
	 * 题库分类
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long qbtypeId;
	/**
	 * 名称
	*/
	private String qbName;
	/**
	 * 开放学习开始时间
	*/
	private Date openStartTime;
	/**
	 * 开放学习结束时间
	*/
	private Date openEndTime;
	/**
	 * 排序
	*/
	private Integer sort;
	/**
	 * 题数目
	 */
	@TableField(exist = false)
	private Integer questionNum;

}
